package com.hexb.smh.utils;

/**
 * @author : hexb
 */
public class SmhConstant {
    final static public String ROLE_SUPER_ADMIN = "super_admin";
    final static public String ROLE_ADMIN = "admin";
    final static public String ROLE_SALESMAN = "salesman";
    final static public String ROLE_SALESMAN_MANAGER = "salesman_manager";
    final static public String ROLE_ACTIVATED = "activated";
    final static public String ROLE_UN_ACTIVATED = "un_activated";
    final static public String AMOUNT_PATTERN = "^(\\d{1,10})(.\\d{0,2})?";
    final static public String RATE_PATTERN = "^(\\d{1,10})(.\\d{0,6})?";
    final static public String EVALUATE_LEVEL_PATTERN = "^\\-?(\\d{1,3})(.\\d{0,1})?";

    //前端请使用jsencrypt
    final static public String RSA_PRIVATE = "MIICdQIBADANBgkqhkiG9w0BAQEFAASCAl8wggJbAgEAAoGBAIg/vNlWUIe8AfXBkHJKaDZug9sBnP85J+3anp80maA3Wb0GvoYie6FMSIo/NienwlCEBhToqBRSXjrXxLgm4SL3FC0y/bS+xI7Z/4lNhSrZ20kJYTZxOgkfGDKX9nAvlMSdF8bjCGwgbnc5o5D+3J3uoRp0YkORF5tDEpU4RwQhAgMBAAECgYB9LSng96cm/XlDg2GlT20tTR3BMVs/NRDVOzzughH+m7vLqg2TCM1S5NXkhazIhB1HgfRgc1wwx3ghUak/kyDVekl7wv/OE0E9XdbElTwfJKHweapBWhDz4CdpPdsJnjQfzpJu/ARemSo+GCS0lKCyQRagTfCVWvX5ITq8Fq7zTQJBAMTvWMR09+EbaXdo1bFx02YXpJX8va9rS6T++gJLL6InhlP4woaSvN7OgLeHZ1gyEE+Q3MLNwm0s+W9qWbYjIVcCQQCxHOz4eoYiHtkNwgVBXdE6A0ktNv208eF9D40LOBwFS+JhwSu66g9WrP9hQxngMet4aV9NEwRo4MFIy/ZnSUNHAkBrg4v/vSfy4mdCxJ4dgNn7m57EL7ZTBY3Hp1hQVkHMEi34vA9fLs8kCLMm/ypBcRuMhLaxN2oU9n+6/uG5WRaDAkBBR1MEJkyn6MzBaGB9fjGueyWOd7U86uXcLU4j83NIdHak5wjSJJCwtqSN2aiA3IVYZSYOB1NZwHUc+qf/253jAkAms+nGMAoAi5AOuKogrYJOZXKsrN3EYdWqAp/RamHhpqcNW7VUbIrI/L/a5T9GSFti2sJt+MLglGEQD8BnLL3g" +
            "EZZ0hEczxhYPcdfQJeOV6AoS3fuPTlZGjIG7VX6gz40PkLG52nE/p6e1DZQbzCyQR8bOCPtPRSZX3RuoEcXLas6BhoEaq1afMbpQiwLR0E48tSlWJZzlMA0IeCuTZPfZiSH9wTX9FORUTtdL/EM70Lje076hGw0MTRyQx3nx0qg=";
    final static public String RSA_PUBLIC = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCIP7zZVlCHvAH1wZBySmg2boPbAZz/OSft2p6fNJmgN1m9Br6GInuhTEiKPzYnp8JQhAYU6KgUUl4618S4JuEi9xQtMv20vsSO2f+JTYUq2dtJCWE2cToJHxgyl/ZwL5TEnRfG4whsIG53OaOQ/tyd7qEadGJDkRebQxKVOEcEIQIDAQAB";

    final static public String[] avatars = new String[]{
            "a001-football.svg",
            "a001girl.svg",
            "a002_cyclist.svg",
            "a002girl1.svg",
            "a003-cyclist-1.svg",
            "a003-girl-2.svg",
            "a004-girl-3.svg",
            "a004-hockey.svg",
            "a005-girl-4.svg",
            "a005-hockey-1.svg",
            "a006-girl-5.svg",
            "a006-hockey-2.svg",
            "a007-girl-6.svg",
            "a007-referee.svg",
            "a008-girl-7.svg",
            "a008-swimmer.svg",
            "a009-girl-8.svg",
            "a009-swimmer-1.svg",
            "a010-girl-9.svg",
            "a010-gymnast.svg",
            "a011-girl-10.svg",
            "a011-gymnast-1.svg",
            "a012-football-1.svg",
            "a012-girl-11.svg",
            "a013-girl-12.svg",
            "a013-martial-art.svg",
            "a014-girl-13.svg",
            "a014-martial-art-1.svg",
            "a015-athletics.svg",
            "a015-girl-14.svg",
            "a016-athletics-1.svg",
            "a016-girl-15.svg",
            "a017-girl-16.svg",
            "a017-skier.svg",
            "a018-boxer.svg",
            "a018-girl-17.svg",
            "a019-boxer-1.svg",
            "a019-man.svg",
            "a020-boy.svg",
            "a020-gymnast-2.svg",
            "a021-punk.svg",
            "a021-rhythmic-gymnastics.svg",
            "a022-man-1.svg",
            "a022-wrestling.svg",
            "a023-baseball.svg",
            "a023-girl-18.svg",
            "a024-boy-1.svg",
            "a024-shot-put.svg",
            "a025-boy-2.svg",
            "a025-snowboarder.svg",
            "a026-man-2.svg",
            "a026-rugby.svg",
            "a027-baseball-1.svg",
            "a027-man-3.svg",
            "a028-boy-3.svg",
            "a028-skater.svg",
            "a029-driver.svg",
            "a029-man-4.svg",
            "a030-girl-19.svg",
            "a030-polo.svg",
            "a031-girl-20.svg",
            "a031-horsewoman.svg",
            "a032-boy-4.svg",
            "a032-skier-1.svg",
            "a033-diver.svg",
            "a033-man-5.svg",
            "a034-catcher.svg",
            "a034-girl-21.svg",
            "a035-boy-5.svg",
            "a035-diver-1.svg",
            "a036-person.svg",
            "a036-wrestler.svg",
            "a037-boy-6.svg",
            "a037-sumo.svg",
            "a038-man-6.svg",
            "a038-parachutist.svg",
            "a039-man-7.svg",
            "a039-parachutist-1.svg",
            "a040-boy-7.svg",
            "a040-surfer.svg",
            "a041-man-8.svg",
            "a041-volleyball.svg",
            "a042-man-9.svg",
            "a042-volleyball-1.svg",
            "a043-man-10.svg",
            "a043-waterpolo.svg",
            "a044-bowling.svg",
            "a044-boy-8.svg",
            "a045-fencing.svg",
            "a045-girl-22.svg",
            "a046-boy-9.svg",
            "a046-ping-pong.svg",
            "a047-girl-23.svg",
            "a047-tennis-player.svg",
            "a048-girl-24.svg",
            "a048-tennis-player-1.svg",
            "a049-basketball-player.svg",
            "a049-girl-25.svg",
            "a050-basketball-player-1.svg",
            "a050-girl-26.svg",
            "astronaut.svg",
            "bellboy.svg",
            "captain.svg",
            "chef.svg",
            "chef-1.svg",
            "clerk.svg",
            "clerk-1.svg",
            "cowboy.svg",
            "delivery-man.svg",
            "doctor.svg",
            "driver.svg",
            "driver-1.svg",
            "engineer.svg",
            "farmer.svg",
            "firefighter.svg",
            "flight-attendant.svg",
            "graduated.svg",
            "judge.svg",
            "magician.svg",
            "man.svg",
            "military.svg",
            "miner.svg",
            "musician.svg",
            "news-reporter.svg",
            "news-reporter-1.svg",
            "news-reporter-2.svg",
            "nun.svg",
            "nurse.svg",
            "photographer.svg",
            "pilot.svg",
            "police.svg",
            "priest.svg",
            "spy.svg",
            "surgeon.svg",
            "swat.svg",
            "swat-1.svg",
            "taxi-driver.svg",
            "thief.svg",
            "thief-1.svg",
            "waiter.svg",
            "welder.svg",
            "welder-1.svg",
            "woman.svg",
            "worker.svg",
            "worker-1.svg"
    };

    final static public int AVATAR_SIZE = avatars.length;
}
